{foreach($data as $v)}
<dl>
	<dt>
		<input name="C1" type="checkbox" value="{$v.bh}" />
		{if $v.zt==1}<span>刷新时间：{:ifsj($v.lastgx)}</span>
		<span>人气：{$v.djl}</span><span class='au'>{if $type=='task'}<a class="" href="/member/promotion/task/{$v.id}" target=_blank><i class="va-2 iconfont">&#xe6bd;</i> 推广</a>{/if}</span>{else}
		<span>最后提交时间：{:ifsj($v.sj)}</span>{/if}
	</dt>
	<dd class="demand">
		<li class="l2"><a class="tit" {if $v.zt==1}href="{if $type=='task'}/task/goods{$v.id}.html{else}/demand/{$v.id}.html{/if}" target="_blank"{else}href="javascript:void(0);" title="预览需求" data="audit/demand/{$v.bh}" onclick="pview(this);return false;"{/if}>{$v.tit}</a></li>
		<li class="l3">
			<div class="gstate">
				{if $v.zt==0}
					<a href="javascript:void(0);" title="预览需求" data="audit/demand/{$v.bh}" onclick="pview(this);return false;" target=_blank><span class=blue><i>&#xe668;</i>审核中</span></a>
				{/if}
				{if $v.zt==1}
					{if $type=='task'}<span class=blue><i>&#xe668;</i>招标中</span>{else}<span><i>&#xe668;</i>求购中</span>{/if}
				{/if}
				{if $v.zt==2}
					<span class=gray><i>&#xe668;</i>已结束</span>
				{/if}				
				{if $v.zt==3}
					<a href="/member/appeal/demand/{$v.bh}/audit" target=_blank><span class=red><i>&#xe668;</i>未通过</span> 详情</a>
				{/if}
			</div>
		</li>
		<li class="note_icon"></li>
		<li class="l4">
			{if $v.zt==2}
			<a class="single_operate" action="updown"><i>&#xe904;</i> 续求</a>{/if}		
			<a class="single_operate" vsafe=1 action="del" data={$v.bh}><i>&#xe647;</i> 删除</a>
			<a href="{if $type=='task'}/member/form/task/{$v.bh}{else}/member/form/demand_{$v.type}/{$v.bh}{/if}" target="_blank"><i>&#xe6aa;</i> 编辑</a>
			{if $v.zt==1}
			<a class="single_operate" action="updown"><i>&#xe6c5;</i> 结束</a>
			<a class="single_operate" action="uptime"><i>&#xe6be;</i> 刷新</a>{/if}
		</li>
	</dd>
</dl>
{/foreach}

